// const { environment } = require('./config/environment.js') 

module.exports = {
	devServer: {
		port: 9005,
		proxy: {
			'/api': {
				// target: 'http://10.189.88.140:8100',
				target: 'http://10.189.88.101:8100',
				ws: true,
				changeOrigin: true,
				pathRewrite: {
					'^/api': 'api'
				}
			},
			'/auth': {
				target: 'http://10.189.88.101:8100',
				changeOrigin: true,
				pathRewrite: {
					'^/auth': 'auth'
				}
			}
		},
	}
}